﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TypedROBIN.Imaging
{
    [Serializable]
    public class IECaptErrorEventArgs : EventArgs
    {
        private string taskId;
        private Arguments orignalArguments;
        private long executionTime;
        private int statusCode;
        private string message;

        public IECaptErrorEventArgs(
            string taskId, 
            Arguments orignalArguments, 
            long executionTime, 
            int statusCode,
            string message)
        {
            this.taskId = taskId;
            this.orignalArguments = orignalArguments;
            this.executionTime = executionTime;
            this.statusCode = statusCode;
            this.message = message;
        }

        public string TaskId
        {
            get { return taskId; }
        }

        public Arguments OrignalArguments
        {
            get { return orignalArguments; }
        }
        public long ExecutionTime
        {
            get { return executionTime; }
        }

        public int StatusCode
        {
            get { return statusCode; }
        }

        public string Message
        {
            get { return message; }
        }
    }
}
